package org.hcyspartnoc.demo.common.exception.system;


import org.hcyspartnoc.demo.common.exception.BaseException;

import java.io.Serial;

public class SysPermissionException extends BaseException {
    public static final String PERMISSION_NOT_EXISTS = "权限不存在";
    public static final String RELATION_HAS_EXISTS = "关系已绑定";
    public static final String RELATION_NOT_EXISTS = "关系未绑定";
    @Serial
    private static final long serialVersionUID = 661665103150870562L;

    public SysPermissionException(String msg) {
        super(msg);
    }

    public SysPermissionException(String msg, int code) {
        super(msg, code);
    }
}
